package com.ruoyi.tjbb.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.tjbb.mapper.SysTjbbGpssjbbMapper;
import com.ruoyi.tjbb.domain.SysTjbbGpssjbb;
import com.ruoyi.tjbb.service.ISysTjbbGpssjbbService;

/**
 * GPS数据报Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
@Service
public class SysTjbbGpssjbbServiceImpl implements ISysTjbbGpssjbbService 
{
    @Autowired
    private SysTjbbGpssjbbMapper sysTjbbGpssjbbMapper;

    /**
     * 查询GPS数据报
     * 
     * @param id GPS数据报主键
     * @return GPS数据报
     */
    @Override
    public SysTjbbGpssjbb selectSysTjbbGpssjbbById(Long id)
    {
        return sysTjbbGpssjbbMapper.selectSysTjbbGpssjbbById(id);
    }

    /**
     * 查询GPS数据报列表
     * 
     * @param sysTjbbGpssjbb GPS数据报
     * @return GPS数据报
     */
    @Override
    public List<SysTjbbGpssjbb> selectSysTjbbGpssjbbList(SysTjbbGpssjbb sysTjbbGpssjbb)
    {
        return sysTjbbGpssjbbMapper.selectSysTjbbGpssjbbList(sysTjbbGpssjbb);
    }

    /**
     * 新增GPS数据报
     * 
     * @param sysTjbbGpssjbb GPS数据报
     * @return 结果
     */
    @Override
    public int insertSysTjbbGpssjbb(SysTjbbGpssjbb sysTjbbGpssjbb)
    {
        return sysTjbbGpssjbbMapper.insertSysTjbbGpssjbb(sysTjbbGpssjbb);
    }

    /**
     * 修改GPS数据报
     * 
     * @param sysTjbbGpssjbb GPS数据报
     * @return 结果
     */
    @Override
    public int updateSysTjbbGpssjbb(SysTjbbGpssjbb sysTjbbGpssjbb)
    {
        return sysTjbbGpssjbbMapper.updateSysTjbbGpssjbb(sysTjbbGpssjbb);
    }

    /**
     * 批量删除GPS数据报
     * 
     * @param ids 需要删除的GPS数据报主键
     * @return 结果
     */
    @Override
    public int deleteSysTjbbGpssjbbByIds(Long[] ids)
    {
        return sysTjbbGpssjbbMapper.deleteSysTjbbGpssjbbByIds(ids);
    }

    /**
     * 删除GPS数据报信息
     * 
     * @param id GPS数据报主键
     * @return 结果
     */
    @Override
    public int deleteSysTjbbGpssjbbById(Long id)
    {
        return sysTjbbGpssjbbMapper.deleteSysTjbbGpssjbbById(id);
    }
}
